.pub_index {

    .page_box {
        background-image: linear-gradient(#D31318, #F06956);
        padding: var(--status-bar-height) 0 0 0;
        height: 100vh;

        .search_box {
            width: 100%;
            height: 160rpx;
            display: flex;
            padding: 0 30rpx 0 50rpx;
            align-items: center;

            .logo {
                width: 120rpx;
                height: 90rpx;
                margin: 0 30rpx 0 0;
            }

            ::v-deep .search {
                border-radius: 20rpx;
            }
        }

        .banner_div {
            width: 100vw;
            border-radius: 10rpx;

            .swiper {
                width: 100vw;
                height: 40vw;
                border-radius: 10rpx;
                overflow: hidden;
            }

            .swiper_item {
                width: calc(100% - 30rpx);
                height: 36vw;
                background-position: center;
                background-repeat: no-repeat;
                background-size: cover;
                border-radius: 10rpx;
                margin: 2vw auto;
            }

            .swiper_item_active {
                width: 100%;
                height: 40vw;
                margin: 0 auto;
            }

            ::v-deep uni-swiper .uni-swiper-dot {
                background-color: #fff;
                opacity: 0.6;
                height: 8rpx;
                width: 8rpx;
                margin-right: 7rpx;
            }

            ::v-deep uni-swiper .uni-swiper-dot-active {
                background-color: #E91D1B;
                opacity: 1;
                width: 30rpx;
                border-radius: 4rpx;
                height: 8rpx;
                margin-right: 7rpx;
            }
        }

        .notice_div {
            width: calc(100vw - 60rpx);
            margin: 30rpx auto;
            height: 60rpx;
            background: url("@/static/aimg/img_25.png") center no-repeat;
            background-size: 100% 100%;
            position: relative;

            .uni-noticebar {
                padding: 20rpx 24rpx 20rpx 220rpx;
                border-radius: 10rpx;
                height: 60rpx;
            }
        }

        .notice_div::before {
            width: 80rpx;
            height: 80rpx;
            background: url("@/static/aimg/img_23.png") center no-repeat;
            background-size: cover;
            position: absolute;
            top: -6rpx;
            left: 0;
            content: "";
        }

        .notice_div::after {
            width: 100rpx;
            height: 60rpx;
            background: url("@/static/aimg/img_24.png") center no-repeat;
            background-size: auto 30rpx;
            position: absolute;
            top: 0;
            left: 90rpx;
            content: "";
        }

        .img_box{
            width: 100%;
            position: relative;
            .ylzq{
                width: 28%;
                height: 60%;
                // background-color: rgba(0, 0, 0, 0.4);
                top: 30%;
                right: 7%;
                position: absolute;
            }
        }

        .tools_div {
            width: calc(100vw - 40rpx);
            margin: 60rpx auto;
            display: flex;
            justify-content: space-around;
            padding: 0 40rpx;

            .li {
                .img {
                    width: 96rpx;
                    height: 96rpx;
                }

                .txt {
                    color: #F9D2A1;
                    line-height: 40rpx;
                    text-align: center;
                    font-size: 28rpx;
                    margin-top: 10rpx;
                }
            }
        }

        .goods_new_div {
            width: calc(100vw - 40rpx);
            margin: 30rpx auto;
            background: url("@/static/aimg/img_26.png") center no-repeat;
            background-size: 100% 100%;
            display: flex;
            flex-wrap: wrap;
            padding: 50rpx 30rpx 30rpx 30rpx;

            .title {
                font-size: 36rpx;
                color: #FFFFFF;
                font-weight: bold;
                line-height: 50rpx;
                width: 100%;
                margin-bottom: 20rpx;

                .more {
                    float: right;
                    line-height: 50rpx;
                    font-size: 24rpx;
                    margin: 0 30rpx 0 0;
                }
            }

            .left_img {
                width: 190rpx;
                height: 240rpx;
                background: url("@/static/aimg/img_27.png") center no-repeat;
                background-size: 100% 100%;
            }

            .lis {
                width: calc(100% - 190rpx);
                background-color: #fff;
                height: 240rpx;
                border-top-right-radius: 20rpx;
                border-bottom-right-radius: 20rpx;
                display: flex;
                align-items: center;
                padding: 0 20rpx;

                .li {
                    width: 30%;
                    margin: 0 5% 0 0;

                    .img {
                        width: 120rpx;
                        height: 120rpx;
                        margin: 0 auto;
                        border-radius: 10rpx;
                        overflow: hidden;
                    }

                    .text {
                        .price {
                            font-size: 28rpx;
                            color: #E91D1B;
                            line-height: 40rpx;
                            font-weight: bold;
                            text-align: center;
                            margin-top: 10rpx;
                        }

                        .price_old {
                            font-size: 20rpx;
                            color: #666;
                            line-height: 30rpx;
                            text-align: center;
                            text-decoration: line-through;
                        }
                    }
                }

                .li:last-child {
                    margin: 0;
                }
            }
        }

        .goods_div {
            width: calc(100vw - 40rpx);
            margin: 30rpx auto 0 auto;
            display: flex;
            flex-wrap: wrap;
            padding: 0 0 140rpx 0;

            .li {
                width: calc(50% - 16rpx);
                margin: 0 30rpx 32rpx 0;
                background: url("@/static/aimg/img_29.png") top center no-repeat;
                background-size: 100% 100%;
                padding: 10rpx;
                position: relative;

                .title {
                    font-size: 36rpx;
                    color: #F9D2A1;
                    line-height: 40rpx;
                    padding: 10rpx 0 14rpx 100rpx;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }

                .img {
                    width: 100%;
                    height: 330rpx;
                    border-radius: 10rpx;
                    overflow: hidden;
                }

                .cont {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;

                    .text {
                        display: flex;
                        padding: 20rpx 10rpx;

                        .price {
                            font-size: 40rpx;
                            color: #FFFFFF;
                            font-weight: bold;
                            line-height: 60rpx;
                        }

                        .msg {
                            margin: 0 0 0 10rpx;
                            padding: 14rpx 0 0 0;

                            .msg_1 {
                                font-size: 20rpx;
                                color: #FFFFFF;
                                line-height: 20rpx;
                            }

                            .msg_2 {
                                font-size: 16rpx;
                                color: #FFFFFF;
                                line-height: 20rpx;
                                word-break: keep-all;
                            }
                        }
                    }

                    .btn {
                        width: 140rpx;
                        height: 40rpx;
                        background-image: linear-gradient(#FFEDDD, #F9D09C);
                        color: #C90005;
                        line-height: 40rpx;
                        font-size: 24rpx;
                        text-align: center;
                        border-radius: 20rpx;
                        margin-top: 10rpx;
                    }
                }


            }

            .li::before {
                width: 70rpx;
                height: 80rpx;
                background: url("@/static/aimg/img_28.png") center no-repeat;
                background-size: cover;
                position: absolute;
                top: -14rpx;
                left: 20rpx;
                content: "";
            }

            .li:nth-child(2n) {
                margin: 0 0 32rpx 0;
            }
        }
    }
}


.pub_good_info {
    min-height: 100vh;

    .good_info_box {
        padding: 0 0 160rpx 0;

        .banner_div {
            width: 100vw;
            // border-radius: 10rpx;
            margin: 0 auto 30rpx auto;

            .swiper {
                width: 100vw;
                height: 100vw;
                border-radius: 10rpx;
            }

            .swiper_item {
                width: 100vw;
                height: 100vw;
                background-position: center;
                background-repeat: no-repeat;
                background-size: cover;
                // border-radius: 10rpx;
            }

            ::v-deep uni-swiper .uni-swiper-dot {
                background-color: rgba(0, 0, 0, 0.3);
            }

            ::v-deep uni-swiper .uni-swiper-dot-active {
                background-color: #fff;
            }
        }


        .info_div {
            width: 100vw;
            background-color: #fff;
            margin: 0 auto;
            padding: 40rpx 30rpx;
            position: relative;
            border-radius: 10rpx;
            border-bottom: 20rpx solid #EBEBEB;

            .title {
                font-size: 28rpx;
                color: #333333;
                line-height: 40rpx;
                font-weight: bold;
                margin: 20rpx 0;
            }

            .price {
                color: #F12026;
                font-weight: bold;
                font-size: 30rpx;
                line-height: 40rpx;

                .p {
                    font-size: 36rpx;
                }

                .jf {
                    font-size: 24rpx;
                    color: #aaa;
                    padding: 0 0 0 6rpx;
                    line-height: 40rpx;
                    display: inline-block;
                    vertical-align: bottom;
                }
            }

            .text {
                font-size: 24rpx;
                color: #333333;
                line-height: 40rpx;
            }
        }

        .detail_div {
            background-color: #fff;
            margin-top: 30rpx;

            .title {
                width: 100%;
                text-align: center;
                font-size: 32rpx;
                color: #333333;
                font-weight: bold;
                // background: url("@/static/aimg/img_72.png") bottom center no-repeat;
                background-size: auto 14rpx;
                padding: 40rpx 0 20rpx 0;
            }

            .imgs {
                width: 100vw;
                height: auto;
                display: block;
            }

            .detail_box {
                width: 100vw;
                color: #fff !important;

                ::v-deep img {
                    width: 100vw;
                    height: auto;
                    display: block;
                    margin: 0 auto;
                }
            }
        }

        .detail_div_nomargin {
            margin-top: 0;
        }

        .bottom_div {
            width: 100%;
            height: 160rpx;
            background-color: #fff;
            position: fixed;
            bottom: 0;
            left: 0;
            padding: 25rpx 30rpx;
            box-shadow: 0 -6rpx 16rpx 2rpx rgba(0, 0, 0, 0.1);

            .pub_btn {
                height: 110rpx;
                line-height: 110rpx;
            }
        }
    }

    .sku_alert_div {
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.55);
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 1000001;

        .box {
            width: 100vw;
            background-image: linear-gradient(#e02e22 10%, #fff 90%);
            border-top-left-radius: 40rpx;
            border-top-right-radius: 40rpx;
            padding: 20rpx 30rpx 50rpx 30rpx;
            position: absolute;
            bottom: 0;
            left: 0;

            .title {
                line-height: 100rpx;
                text-align: center;
                font-size: 32rpx;
                font-weight: bold;
                color: #fff;
                position: relative;
                margin-bottom: 40rpx;

                .close {
                    width: 100rpx;
                    height: 100rpx;
                    position: absolute;
                    right: 0;
                    top: 0;
                }
            }

            .info {
                width: 100%;
                position: relative;
                height: 180rpx;
                padding: 0 0 0 210rpx;
                display: flex;
                flex-wrap: wrap;
                align-content: space-between;
                margin-bottom: 50rpx;

                .img {
                    width: 180rpx;
                    height: 180rpx;
                    position: absolute;
                    left: 0;
                    top: 0;
                    border-radius: 13rpx;
                    overflow: hidden;
                }

                .text {
                    width: 100%;

                    .p_1 {
                        font-size: 32rpx;
                        color: #FFFFFF;
                        line-height: 40rpx;
                        max-height: 80rpx;
                        text-overflow: ellipsis;
                        overflow: hidden;
                        display: -webkit-box;
                        -webkit-line-clamp: 2;
                        -webkit-box-orient: vertical;
                    }

                    .p_2 {
                        font-size: 24rpx;
                        color: #ddd;
                        line-height: 40rpx;
                        height: 40rpx;
                        margin-top: 20rpx;

                        .span_0 {
                            font-size: 24rpx;
                            color: #FFDD86;
                            line-height: 40rpx;
                        }

                        .span_1 {
                            font-size: 36rpx;
                            font-weight: bold;
                            padding: 0 6rpx 0 0;
                            color: #FFDD86;
                            line-height: 40rpx;
                        }

                        .span_2 {
                            float: right;
                            line-height: 40rpx;
                        }
                    }
                }
            }

            .sku_lists {
                width: 100%;
                display: flex;
                flex-wrap: wrap;
                min-height: 30vh;
                max-height: 40vh;
                overflow-y: scroll;
                align-content: flex-start;

                .sku_li {
                    height: 60rpx;
                    line-height: 60rpx;
                    color: #333;
                    font-size: 24rpx;
                    padding: 0 30rpx;
                    margin: 0 30rpx 30rpx 0;
                    border-radius: 30rpx;
                    background-color: #fff;
                }

                .sku_li_active {
                    background-image: linear-gradient(to top right, #e02e22, rgb(244, 218, 218));
                    color: #fff;
                }
            }
        }
    }
}

.pub_good_order {
    // background: url("@/static/aimg/img_1.png") top center no-repeat;
    // background-size: 100vw 100%;
    // background-image: linear-gradient(rgba(224, 46, 34, 1) 25%, rgba(224, 46, 34, 0) 90%);
    background-color: #f8f8f8;
    min-height: 100vh;

    .good_order_box {
        padding: 30rpx 30rpx 160rpx 30rpx;

        .address_div {
            border-radius: 20rpx;
            padding: 30rpx 76rpx;
            box-shadow: 0 0 16rpx 2rpx rgba(0, 0, 0, 0.03);
            background-color: #fff;
            position: relative;

            .lo_icon {
                font-size: 30rpx;
                position: absolute;
                top: 34rpx;
                left: 24rpx;
                color: #333;
            }

            .p_1 {
                line-height: 40rpx;
                color: #333;
                font-size: 28rpx;
                font-weight: bold;

                .mobile {
                    margin: 0 0 0 20rpx;
                }
            }

            .p_2 {
                line-height: 30rpx;
                color: #999;
                font-size: 26rpx;
                margin-top: 4rpx;
            }

            .right_icon {
                position: absolute;
                top: 50%;
                right: 20rpx;
                margin-top: -12rpx;
                color: #AAAAAA;
                font-size: 24rpx;
            }
        }

        .good_div {
            border-radius: 20rpx;
            padding: 26rpx 30rpx 40rpx 30rpx;
            box-shadow: 0 0 16rpx 2rpx rgba(0, 0, 0, 0.03);
            background-color: #fff;
            margin: 30rpx 0;
            display: flex;
            flex-wrap: wrap;

            .div_title {
                width: 100%;
                line-height: 50rpx;
                font-size: 32rpx;
                font-weight: bold;
                color: #333;
                margin-bottom: 30rpx;
            }

            .img {
                width: 160rpx;
                height: 160rpx;
                border-radius: 10rpx;
                overflow: hidden;
            }

            .info {
                width: calc(100% - 160rpx);
                padding: 0 0 0 30rpx;
                display: flex;
                flex-wrap: wrap;
                align-content: space-between;

                .title {
                    width: 100%;
                    // text-overflow: ellipsis;
                    // overflow: hidden;
                    // display: -webkit-box;
                    // -webkit-line-clamp: 2;
                    // -webkit-box-orient: vertical;

                    .name {
                        width: 100%;
                        height: 40rpx;
                        line-height: 40rpx;
                        color: #333;
                        font-size: 28rpx;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        font-weight: bold;
                    }

                    .sku {
                        width: 100%;
                        height: 40rpx;
                        line-height: 40rpx;
                        color: #aaa;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        font-size: 24rpx;
                        margin-top: 6rpx;
                    }
                }



                .price {
                    width: 100%;
                    color: #F12026;
                    font-weight: bold;
                    font-size: 44rpx;
                    line-height: 50rpx;
                    position: relative;

                    .old {
                        color: #989898;
                        font-size: 24rpx;
                        font-weight: normal;
                        margin: 0 0 0 20rpx;
                        text-decoration: line-through;
                        line-height: 50rpx;
                    }

                    .￥ {
                        font-size: 30rpx;
                    }

                    .jf {
                        font-size: 20rpx;
                        padding: 0 0 0 6rpx;
                        color: #AAAAAA;
                        font-weight: normal;
                        line-height: 40rpx;
                        display: inline-block;
                        vertical-align: bottom;
                    }

                    .kc {
                        font-size: 20rpx;
                        color: #AAAAAA;
                        font-weight: normal;
                        line-height: 40rpx;
                        position: absolute;
                        right: 0;
                        bottom: 0;
                    }
                }
            }

            .lis {
                width: 100%;
                padding: 10rpx 0 0 0;
                // border-top: 1rpx dashed #eee;
                // margin: 30rpx 0 0 0;

                .li {
                    margin: 40rpx 0 0 0;
                    display: flex;

                    .left {
                        width: 30%;
                        line-height: 40rpx;
                        font-size: 28rpx;
                        color: #444;
                    }

                    .right {
                        width: 70%;
                        line-height: 40rpx;
                        font-size: 28rpx;
                        color: #888;
                        text-align: right;
                        display: flex;
                        justify-content: flex-end;
                        justify-items: center;

                        .add {
                            width: 40rpx;
                            height: 40rpx;
                            font-size: 40rpx;
                            color: #333;
                        }

                        .num {
                            min-width: 80rpx;
                            text-align: center;
                            line-height: 40rpx;
                            font-size: 32rpx;
                            font-weight: bold;
                            color: #333;
                        }

                        .sub {
                            width: 40rpx;
                            height: 40rpx;
                            font-size: 40rpx;
                            color: #333;
                        }
                    }

                    .right_1 {
                        color: #F12026;
                        font-weight: bold;

                        .jf {
                            font-size: 20rpx;
                            line-height: 40rpx;
                            padding: 0 0 0 6rpx;
                            color: #AAAAAA;
                            font-weight: normal;
                            display: inline-block;
                            vertical-align: top;
                        }
                    }
                }
            }
        }

        .pay_div {
            border-radius: 20rpx;
            padding: 26rpx 30rpx 0rpx 30rpx;
            box-shadow: 0 0 16rpx 2rpx rgba(0, 0, 0, 0.03);
            background-color: #fff;
            margin: 30rpx 0;

            .div_title {
                line-height: 50rpx;
                font-size: 32rpx;
                font-weight: bold;
                color: #333;
                // margin-bottom: 20rpx;
            }

            .li {
                width: 100%;
                // margin: 50rpx 0 0 0;
                line-height: 40rpx;
                font-size: 28rpx;
                color: #333;
                position: relative;
                border-top: 1rpx solid #f8f8f8;
                padding: 50rpx 0;

                .icon-a-wx-4 {
                    font-size: 40rpx;
                    color: #28C445;
                    width: 40rpx;
                    height: 40rpx;
                    margin: 0 20rpx 0 0;
                    display: inline-block;
                    vertical-align: top;
                }

                .icon-a-zfb-3 {
                    font-size: 40rpx;
                    color: #1296db;
                    width: 40rpx;
                    height: 40rpx;
                    margin: 0 20rpx 0 0;
                    display: inline-block;
                    vertical-align: top;
                }

                .icon-font-basic {
                    font-size: 40rpx;
                    color: #F12026;
                    width: 40rpx;
                    height: 40rpx;
                    float: right;
                }

                .gwjf {
                    width: 40rpx;
                    height: 40rpx;
                    margin: 0 20rpx 0 0;
                    display: inline-block;
                    vertical-align: top;
                    // background: url("@/static/logo_small.png") center no-repeat;
                    // background-size: 40rpx;
                    border-radius: 50%;
                }
            }

            .li:nth-child(2) {
                border-top: none;
            }
        }

        .bottom_div {
            width: 100%;
            height: 120rpx;
            background-color: #fff;
            position: fixed;
            bottom: 0;
            left: 0;
            padding: 20rpx 40rpx;
            box-shadow: 0 -6rpx 16rpx 2rpx rgba(0, 0, 0, 0.04);
            display: flex;
            // justify-content: space-between;
            justify-content: flex-end;

            .txt {
                line-height: 80rpx;
                color: #8a8a8a;
                font-size: 24rpx;
                font-weight: bold;
                padding: 0 40rpx 0 0;

                .span_1 {
                    color: #333;
                    padding: 0 0 0 10rpx;
                }

                .span_2 {
                    color: #F12026;
                }

                .span_3 {
                    color: #F12026;
                    font-size: 40rpx;
                }

                .jf {
                    color: #333;
                    padding: 0 0 0 10rpx;
                }
            }

            .btn {
                width: 220rpx;
                height: 80rpx;
                color: #fff;
                border-radius: 40rpx;
                font-size: 28rpx;
                font-weight: bold;
                text-align: center;
                line-height: 80rpx;
                margin: 0;
            }
        }
    }
}